<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
  <testsuite name="fastlane.lanes">
    <% @steps.each_with_index do |step, index| %>
      <% name = [index, step[:name]].join(": ") %>
      <testcase classname="fastlane.lanes" name=<%= name.encode(:xml => :attr) %> time="<%= step[:time] %>">
        <% if step[:error] %>
          <failure message=<%= step[:error].encode(:xml => :attr).gsub("\n", "&#10;") %> />
        <% end %>
      </testcase>
    <% end %>
  </testsuite>
</testsuites>
